﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ContractModifications : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["flsPartnerWebID"] != null && Session["flsPartnerWebType"] != null)
        {
            //   string test = Session["flspartnerwebtype"].ToString();
        }
        else
        {
            Response.Redirect("default.aspx?error=1");
        }

        editContract.mode = 1;
       
        if (!IsPostBack)
        {
            lblreferer.Text = Request.UrlReferrer.PathAndQuery.ToString();
            editContract.Start();
        }
          
    }
    protected void btn1_Click(object sender, EventArgs e)
    {
        Response.Redirect(lblreferer.Text);
    }
}